package com.wh.base.sys.offer.controller.form;

import io.swagger.annotations.ApiOperation;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@ApiOperation(value = "系统配置查询表单类")
public class SearchPageForm {
	
	@Schema(description = "姓名")
    private String name;
	
	@Schema(description = "身份证号")
    private String cardNumber;

    @Schema(description = "考生号")
    private String examineeNumber;

    @Schema(description = "学年")
    private String academicYear;

    @Schema(description = "注册信息地址")
    private String registAddress;

    @Schema(description = "学生类型")
    private String studentType;

    @Schema(description = "发证时间")
    private String licenceIssued;

    @NotNull(message = "pageNum不能为空")
    @Min(value = 1, message = "pageNum不能小于1")
    @Schema(description = "页数")
    private Integer pageNum;

    @NotNull(message = "pageSize不能为空")
    @Min(value = 1, message = "pageSize不能小于1")
    @Schema(description = "每页记录数")
    private Integer pageSize;

}
